package com.group02.community.entity.visitor;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("zy_complaint_suggest")
public class ZyComplaintSuggest {
  @TableId
  @ExcelProperty("投诉人id")
  private long complaintSuggestId;
  @ExcelIgnore
  @JsonSerialize(using = ToStringSerializer.class)
  private long communityId;
  @ExcelProperty("类型")
  private String complaintSuggestType;
  @ExcelProperty("内容")
  private String complaintSuggestContent;
  @ExcelIgnore
  private String createBy;
  @ExcelProperty("创建时间")
  private LocalDateTime createTime;
  @ExcelIgnore
  private String updateBy;
  @ExcelIgnore
  private LocalDateTime updateTime;
  @ExcelProperty("备注")
  private String remark;
  @ExcelIgnore
  private long userId;



}
